﻿using oceanho.webapi.factory.httpAttr;
using oceanho.webapi.factory.httpEntity;
using oceanho.webapi.factory.httpModule;
using oceanho.webapi.factory.Tests.Entity;
using System;
using System.Collections.Generic;
using System.Web;
using oceanho.webapi.factory.httpCore;

namespace oceanho.webapi.factory.Tests.serviceModules
{
    /// <summary>
    /// Application Basic Class 
    /// </summary>
    public class AppBase_ServeiceserviceModule : http_service_module
    {
        protected override void OnConnectFeelExistProblem(RunModuleEvent arg, httpEntity.ReqCache reqCache)
        {
            // 忽略local ip address
            //if (reqCache.IP == "127.0.0.1" || reqCache.IP == "::1")
            //{
            //    arg.Handled = false;
            //}
            base.OnConnectFeelExistProblem(arg, reqCache);
        }
    }
}